package search

func searchMatrix(matrix [][]int, target int) bool {
	for i := range matrix {
		res := searchInsert(matrix[i], target)
		if matrix[i][res] == target {
			return true
		}
	}	
	return false
}

